﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MockPrjTeam2.Entity
{
    public class Contact
    {
        public int ContactId { get; set; }
        public int ManagerId { get; set; }
        public string FirstName { get; set; }        
        public string SurName { get; set; }
        public string ContactName { get; set; }
        public string KnowAs { get; set; }
        public string OfficePhone { get; set; }
        public string MobilePhone { get; set; }
        public string STHomePhone { get; set; }
        public string Email { get; set; }
        public string ContactType { get; set; }
        public string JobRole { get; set; }
        public string WorkBase { get; set; }
        public string JobTitle { get; set; }
        public bool IsActive { get; set; }

        public Contact() { }
        public Contact(int _contactId, string _contactType) 
        {
            ContactId = _contactId;
            ContactType = _contactType;
        }
        public Contact(int _contactId,int _managerId,string _fName, string  _sName) 
        {
            ContactId = _contactId;
            ManagerId = _managerId;
            FirstName = _fName;
            SurName = _sName;
        }
        public Contact(int _contactId,string _contactName,string _mobile,string _email,string _contactType,bool _isActive) 
        {
            ContactId = _contactId;
            ContactName = _contactName;
            MobilePhone = _mobile;
            Email = _email;
            ContactType = _contactType;
            IsActive = _isActive;
        }
        public Contact(int _contactId, int _managerId, string _contactName, string _fName, string _sName, string _knowAs, string _officePhone,
            string _mobile, string _stPhone, string _email, string _contactType,string _jobRole,string _workBase,string _jobTitle,
             bool _isActive)
        {
            ContactId = _contactId;
            ManagerId = _managerId;
            ContactName = _contactName;
            FirstName = _fName;
            SurName = _sName;
            KnowAs = _knowAs;
            OfficePhone = _officePhone;
            MobilePhone = _mobile;
            STHomePhone = _stPhone;
            Email = _email;
            ContactType = _contactType;
            JobRole = _jobRole;
            WorkBase = _workBase;
            JobTitle = _jobTitle;
            IsActive = _isActive;
        }
    }
}